﻿import java.util.Scanner;

public class L {

	public static void main(String[] args) {
		
		Scanner input = new Scanner(System.in);
		System.out.println("请输入用户名");
		String inputName = input.next();
		System.out.println("请输入密码：");
		int inputPwd = input.nextInt();
		if(inputName.equals("刘梦成")&&inputPwd==123456){
			System.out.println("登录成功！");
		}else if(!"刘梦成".equals(inputName)&&(inputPwd==123456)){
			System.out.println("用户名错误！");
		}else if(inputName.equals("刘梦成")&&(inputPwd!=123456)){
			System.out.println("密码错误！");
		}else{
			System.out.println("请核对信息后重试！");
		}
	}

}